<#include "../inc/header.ftl" />
<div class="admin-content">
    <div class="am-cf am-padding">
        <div class="am-fl am-cf">
            <strong class="am-text-primary am-text-lg">分类</strong> /
            <small>编辑</small>
        </div>
    </div>

    <div class="am-g">
        <form class="am-form am-form-horizontal" method="post" action="${base}/admin/category/create/do">
            <div class="am-form-group">
                <label for="name" class="am-u-sm-1 am-form-label">名称</label>

                <div class="am-u-sm-11">
                    <input type="text" id="name" name="name" placeholder="请输入分类名称">
                </div>
            </div>

            <div class="am-form-group">
                <label for="description" class="am-u-sm-1 am-form-label">描述</label>

                <div class="am-u-sm-11">
                    <textarea id="description" name="description" placeholder="描述"></textarea>
                </div>
            </div>

            <div class="am-form-group">
                <div class="am-u-sm-11 am-u-sm-offset-2">
                    <button type="submit" class="am-btn am-btn-default">提交</button>
                </div>
            </div>
        </form>
    </div>
</div>
<script type="text/javascript" src="${base}/script/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="${base}/script/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript" src="${base}/script/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        UE.getEditor('content');
    });
</script>
<#include "../inc/footer.ftl" />